package routers

import "github.com/gin-gonic/gin"

func CarRouters(r *gin.Engine) {

	//http://localhost:8888/car/
	carRouters := r.Group("/car")

	{
		//http://localhost:8888/car/
		carRouters.GET("/", func(c *gin.Context) {
			c.String(200, "car首页！")
		})
		//http://localhost:8888/car/get
		carRouters.GET("/get", func(c *gin.Context) {
			c.String(200, "获取car信息！")
		})
		//http://localhost:8888/car/del
		carRouters.GET("/del", func(c *gin.Context) {
			c.String(200, "删除car信息！")
		})
	}
}
